package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "paypal_order")
public class PaypalOrder {
    @Id
    @Column(name = "paypal_order_id")
    private Integer paypalOrderId;

    @Column(name = "order_id")
    private Integer orderId;

    @Column(name = "date_added")
    private Date dateAdded;

    @Column(name = "date_modified")
    private Date dateModified;

    @Column(name = "capture_status")
    private String captureStatus;

    @Column(name = "currency_code")
    private String currencyCode;

    @Column(name = "authorization_id")
    private String authorizationId;

    private BigDecimal total;
}